package com.wangpu.oa.service;

import java.util.List;

import com.wangpu.oa.ao.RoleAo;
import com.wangpu.oa.entity.RoleEntity;

public interface RoleService {
	
	RoleEntity addRole(RoleAo ao,String currentUserId)throws Exception;
	
	void deleteRole(String id)throws Exception;
	
	RoleEntity modifyRole(String id)throws Exception;
	
	List<RoleEntity> queryRole(String currentUserId)throws Exception;
	
}
